package edu.sctu.practice.class02.yangshengyu.text01.test05;

/**
 * Created by Cullen on 2015/10/12.
 */
public class Person {
    private String name;
    private int age;

    public  void display( String name,int age){
        this.name=name;
        this.age=age;
        System.out.println("姓名是："+this.name+"     年龄为："+this.age);
    }

    public static void main(String[] args) {
        Person person=new Person();
        person.display("张三",50);
    }
}
